package pers.julio.notepad.PageSwitcher.Demo;

import android.app.Application;

import pers.julio.notepad.PageSwitcher.PageConfig;

/**
 * ClassName:  MyApplication
 * Description: <一句话功能简述>
 * Author: julio_chan  2020/10/20 12:49
 */
public class MyApplication extends Application {
    private String pageJson="[" +
            "  {" +
            "    'name': 'test4'," +
            "    'class': 'pers.julio.notepad.PageSwitcher.Demo.TestFragment4'," +
            "    'params': ''" +
            "  }]";

    @Override
    public void onCreate() {
        super.onCreate();
        PageConfig.init(this, pageJson);
        // or such as this
        //CoreConfig.init(this);
        //CoreConfig.readConfig(pageJson);
    }
}

